import java.util.Arrays;
public class Main {
    public static void main(String[] args) {
        int a[]={5,6,300};
        System.out.println(a.length);
        System.out.println(a);
        System.out.println(a[0]);
        System.out.println(a[1]);
        System.out.println(a[2]);
    }
}
    /*public static void main(String[] args) {
        int[] a = {1, 2, 3, 4, 500,600,700,800};
        int[] b = new int[8];
        int[] c = new int[4];
        int[] d = new int[4];
        System.arraycopy(a, 0, b, 0, 8);
        System.arraycopy(a, 0, c, 0, 4);
        System.arraycopy(a, 4, d, 0, 4);
        String m= Arrays.toString(a);
        System.out.println(m);
        String n= Arrays.toString(b);
        System.out.println(n);
        String x= Arrays.toString(c);
        System.out.println(x);
        String y= Arrays.toString(d);
        System.out.println(y);
        String z= Arrays.toString(a);
        System.out.println(z);
    }
}*/
